package cn.easy.sql.entity;

public class SqlBuilder<T> {
    /**
     * 是否需要主键，大多数表主键自增，可以不需要主键，默认不需要
     */
    private Boolean needPrimaryKey = false;
    /**
     * 生成sql的目标类，根据类生成sql
     */
    private Class<T> target;


    public Boolean getNeedPrimaryKey() {
        return needPrimaryKey;
    }

    public void setNeedPrimaryKey(Boolean needPrimaryKey) {
        this.needPrimaryKey = needPrimaryKey;
    }

    public Class<T> getTarget() {
        return target;
    }

    public void setTarget(Class<T> target) {
        this.target = target;
    }
}
